<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <form>
      <div class="row">
        <div class="col-lg-12">
          <section class="panel">
            <header class="panel-heading">
              立项信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目类型</label>
                <div class="col-sm-10">
                  <select name="proType" class="form-control" ng-model="proType" disabled>
                    <option value="ZL">战略类项目</option>
                    <option value="YF">研发类项目</option>
                    <option value="XS">销售类项目</option>
                    <option value="BM">部门类项目</option>
                    <option value="SW">事务类项目</option>
                    <option value="CS">内部测试类项目</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showArea">
                <label class="col-sm-2 control-label">项目区域</label>
                <div class="col-sm-10">
                  <input type="text" value="{{proArea}}" certus-required class="form-control" disabled>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showCus">
                <label class="col-sm-2 control-label">客户名称</label>
                <div class="col-sm-10">
                  <select name="cusId" class="form-control" id="cusId" certus-required disabled ng-model="cusId">
                    <option value="">请选择</option>
                    <option ng-repeat="d in data" value="{{d.id}}">{{d.comName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目名称</label>
                <div class="col-sm-10">
                  <input type="text" value="{{proName}}" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" maxlength="50"
                    certus-required id="proName" name="proName" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">优先级</label>
                <div class="col-sm-10">
                  <select name="lxLevel" class="form-control" id="lxLevel" certus-required>
                    <option value="">请选择</option>
                    <option value="3">高</option>
                    <option value="2">中</option>
                    <option value="1">低</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">紧急性</label>
                <div class="col-sm-10">
                  <select name="urgency" class="form-control" id="urgency" certus-required>
                    <option value="0">不紧急</option>
                    <option value="1">紧急</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">重要性</label>
                <div class="col-sm-10">
                  <select name="importance" class="form-control" id="importance" certus-required>
                    <option value="0">一般</option>
                    <option value="1">重要</option>
                    <option value="2">战略</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm" ng-if="showCompare">
                <label class="col-sm-2 control-label">预计比拼类测试</label>
                <div class="col-sm-10">
                  <select id="isCompare" name="isCompare" class="form-control" certus-required>
                    <option value="">请选择</option>
                    <option value="1">有</option>
                    <option value="0">无</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showSign">
                <label class="col-sm-2 control-label">预签单日期</label>
                <div class="col-sm-10">
                  <input id="datetime" type="text" name="divineSignDate" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required value="" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showHk">
                <label class="col-sm-2 control-label">预回款日期</label>
                <div class="col-sm-10">
                  <input id="datetime-1" type="text" name="divineHkDate" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required value="" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">线索价值点描述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="clueDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required maxlength="250" placeholder="最多250个字"></textarea>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showPolucy">
                <label class="col-sm-2 control-label">客户决策链和关键描述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="cusPolicy" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required maxlength="250"></textarea>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showCompe">
                <label class="col-sm-2 control-label">竞争信息</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="competitor" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required maxlength="250"></textarea>
                </div>
              </div>
              <!--<div class="form-group customerForm" ng-show="showFinish">-->
              <!--<label class="col-sm-2 control-label">预计完成时间</label>-->
              <!--<div class="col-sm-10">-->
              <!--<input id="datetime-3" name="divineFinishTime" certus-required type="text" value="" class="form-control">-->
              <!--</div>-->
              <!--</div>-->
              <div class="form-group customerForm" ng-show="showVersion">
                <label class="col-sm-2 control-label">预计版本发布时间</label>
                <div class="col-sm-10">
                  <input id="datetime-4" name="divineVersionTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    certus-required type="text" value="" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目周期</label>
                <div class="col-sm-10">
                  <input id="datetime-5" name="startTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" placeholder="开始日期"
                    type="text" value="" style="width: 48%;" class="form-control">
                  <input id="datetime-6" name="endTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    type="text" placeholder="结束日期" style="width:48%;position:absolute;left: 50%;bottom: 0px;" value=""
                    class="form-control">
                </div>
              </div>
              <div class="form-group customerForm" id="pdLine" ng-show="showPolucy">
                <label class="col-sm-2 control-label">产品线*</label>
                <div class="col-sm-10">
                  <!--start-->
                  <div ng-repeat="x in dd">
                    <div ng-repeat="d in x.deptList">
                      <div class="checkbox">
                        <label>
                          <input type="checkbox" onclick="ckIsN(this.value)" value="{{d.departmentCode}}">
                          {{d.departmentName}}
                        </label>
                      </div>
                    </div>
                  </div>
                  <div class="checkbox">
                    <label>
                      <input type="checkbox" onclick="ckIsN(this.value)" value="N"> 无
                    </label>
                  </div>
                  <!--end-->
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">立项说明</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="lxDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    maxlength="120" placeholder="最多120个字"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">沟通确认</label>
                <div class="col-sm-10">
                  <span class="doprocheck" style="line-height:normal;">
                    <div class="checkbox">
                      <label>
                        <input id="remember" value="remember-me" type="checkbox"> 经过和相关领导确认，本人兼任此项目的项目经理，故一并提交商务预测。
                      </label>
                    </div>
                  </span>
                </div>
              </div>
              <div class="hideprobox" style="display:none;">
                <div class="form-group customerForm">
                  <label class="col-sm-2 control-label">沟通结果</label>
                  <div class="col-sm-10">
                    <textarea class="form-control" name="result" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                      certus-required maxlength="120" placeholder="最多120个字"></textarea>
                  </div>
                </div>
              </div>
            </div>
          </section>
          <input type="hidden" value="{{proId}}" name="proId" />
          <section class="panel tarhideproin" style="display: none;">
            <header class="panel-heading add-heading">
              目标信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目目标<span>*</span></label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="proTarget" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" maxlength="120"
                    placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">完成时间<span>*</span></label>
                <div class="col-sm-10">
                  <input type="text" id="tarFinishTime" autocomplete="off" value="" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    class="form-control">
                </div>
              </div>

              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="tarhideproin();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info targetSubmit">提交</a>
              </p>
            </div>
          </section>

          <section class="panel tarhideprobox" style="display: none;">
            <header class="panel-heading add-heading">
              项目目标
              <i class="add-icon icon-plus" onclick="showtarget();"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="targetContainer" class="dlshouwen-grid-container"></div>
            </div>
          </section>

          <section class="panel hideproin" style="display: none;">
            <header class="panel-heading">
              指标信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">指标名称</label>
                <div class="col-sm-10">
                  <input type="text" value="" id="wntyName" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    class="form-control" certus-required maxlength="50" placeholder="字数限制(50字以内)">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">指标描述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="wntyDesc" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                    maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">完成时间</label>
                <div class="col-sm-10">
                  <input type="text" id="finishTime" value="" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    class="form-control" certus-required>
                </div>
              </div>

              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideproin();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info warnSubmit">提交</a>
              </p>
            </div>
          </section>
          <section class="panel hideprobox" style="display: none;">
            <header class="panel-heading add-heading">
              项目指标
              <i class="add-icon icon-plus" onclick="showproin();"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="proinContainer" class="dlshouwen-grid-container"></div>
              <div id="proinToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>
          <section class="panel hideprobox" style="display: none;">
            <header class="panel-heading">
              商务预测
            </header>
            <div class="panel-body">

              <div class="form-group customerForm" ng-if="showMoney">
                <label class="col-sm-2 control-label">销售额</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="" min="0"
                    name="divineMoney" certus-required class="form-control">
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showBudget">
                <label class="col-sm-2 control-label">客户预算</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="" min="0"
                    name="cusBudget" certus-required class="form-control">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm" ng-if="showCtMoney">
                <label class="col-sm-2 control-label">客户费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="" min="0"
                    name="divineContactMoney" certus-required class="form-control">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showCtMoney">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="ctStartTime" name="ctStartTime" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="ctEndTime" name="ctEndTime" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showCtMoney">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dcMoneyDesc" value="" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    class="form-control" maxlength="120">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">差旅费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="" min="0"
                    name="divineBusinessMoney" maxlength="120" certus-required class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="bsStartTime" name="bsStartTime" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="bsEndTime" name="bsEndTime" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dbMoneyDesc" value="" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    class="form-control" maxlength="120">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">采购费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" value="" min="0"
                    name="divinePurchaseMoney" certus-required class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="phStartTime" name="phStartTime" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="phEndTime" name="phEndTime" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dpMoneyDesc" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value=""
                    maxlength="120" class="form-control">
                </div>
              </div>

            </div>
          </section>

          <section class="panel hiderl" style="display: none;">
            <header class="panel-heading">
              人天预估
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">角色*</label>
                <div class="col-sm-10">
                  <select name="rluserName" id="rluserName" class="form-control">
                    <option value="">请选择</option>
                    <option ng-repeat="d in rlList" value="{{d.roleId}}">{{d.roleName}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">级别*</label>
                <div class="col-sm-10">
                  <select name="rtMoney" class="form-control" id="rtMoney">
                    <option value="1">低</option>
                    <option value="2">中</option>
                    <option value="3">高</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">周期*</label>
                <div class="col-sm-10">
                  <input id="rlBeginTime" name="rlBeginTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" placeholder="开始日期"
                         type="text" value="" style="width: 48%;" class="form-control">
                  <input id="rlEndTime" name="rlEndTime" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                         type="text" placeholder="结束日期" style="width:48%;position:absolute;left: 50%;bottom: 0px;" value=""
                         class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">说明</label>
                <div class="col-sm-10">
                <textarea class="form-control" id="rlComments" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                          maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideRl();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info rlSubmit">提交</a>
              </p>
            </div>
          </section>
          <section class="panel hideprobox">
            <header class="panel-heading add-heading">
              人天预估
              <i class="add-icon icon-plus" onclick="showRl();"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="rlContainer" class="dlshouwen-grid-container"></div>
              <div id="rlToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>


          <section class="panel wjhider" style="display: none;">
            <header class="panel-heading">
              文件信息
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">文件</label>
                <div class="col-sm-10">
                  <input type="text" maxlength="50" value="" placeholder="最多50个字"
                         id="wjName" certus-required class="form-control">
                  <!--<select name="wjName" id="wjName" class="form-control">-->
                    <!--<option value="">请选择</option>-->
                    <!--<option ng-repeat="d in wjList" value="{{d.productCode}}">{{d.productName}}</option>-->
                  <!--</select>-->
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">说明</label>
                <div class="col-sm-10">
                <textarea class="form-control" id="wjComments" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                          maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideWj();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info wjSubmit">提交</a>
              </p>
            </div>
          </section>
          <section class="panel hideprobox">
            <header class="panel-heading add-heading">
              涉及文件
              <i class="add-icon icon-plus" onclick="showWj();"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="wjContainer" class="dlshouwen-grid-container"></div>
              <div id="wjToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>

          <section class="panel hideother" style="display: none;">
            <header class="panel-heading add-heading">
              费用信息
            </header>
            <div class="panel-body">
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">金额类型*</label>
                <div class="col-sm-10">
                  <select name="moneyType" id="moneyType" class="form-control">
                    <option value="XSE">预计销售额</option>
                    <option value="KH">客户交际费用</option>
                    <option value="CL">差旅费用</option>
                    <option value="CG">采购费用</option>
                    <option value="QT">其他费用</option>
                    <option value="RL">人力总成本</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">预算金额</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" autocomplete="off" onblur="clearNoNum(this)" min="0" value=""
                    id="bugetMoney" certus-required class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="oStartTime" name="oStartTime" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" certus-required
                        id="oEndTime" name="oEndTime" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">事由*</label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="comments" autocomplete="off" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');"
                    maxlength="120" placeholder="字数限制(120字以内)"></textarea>
                </div>
              </div>

              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideother();">取消</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="addOtherMoney()">提交</a>
              </p>
            </div>
          </section>
          <section class="panel hideprobox" style="display: none;">
            <header class="panel-heading add-heading">
              其他费用
              <i class="add-icon icon-plus" onclick="showother()"> 新增</i>
            </header>
            <div class="panel-body bio-graph-info">
              <div id="otherContainer" class="dlshouwen-grid-container"></div>
              <div id="otherToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>
          <section class="panel">
            <div class="panel-body">
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                <a href="javascript:void(0);" class="button-next  btn btn-success submit">确认提交</a>
              </p>
            </div>
          </section>
        </div>
      </div>
    </form>
  </section>
</section>
<!-- 当前页面js文件引入 -->
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="js/project/edit/addLx.js"></script>
<script>
  //时间控件
  $('#datetime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#datetime-1').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#finishTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-3").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-4").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#tarFinishTime").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-5").datepicker({
    format: 'yyyy-mm-dd'
  });
  $("#datetime-6").datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#ctStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#ctEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#oStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#oEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });

  $('#bsStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#bsEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });

  $('#phStartTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#phEndTime').datepicker({
    format: 'yyyy-mm-dd'
  });
  $('#rlBeginTime').datepicker({
      format: 'yyyy-mm-dd'
  });
  $('#rlEndTime').datepicker({
      format: 'yyyy-mm-dd'
  });
</script>